<?php
	include(ROOTPATH .'include'. DS .'protect.php');
	//function update($tablename, $array, $where = '')
	$id = $_GET['user_id'];
	$password = $_POST['pass'];
	$password = md5(md5($password));
	//$array = array();
	//$array['id'] = $id;
	$array['passWord'] = $password ;
	$dbs -> update(  '_sslq_admin' , $array , ' id = '. $id );
	echo 'OK.';
?>